<?php


define ("Php_Unit",VENDOR_FOLDER."phpunit\PHPUnit");

class Test extends CI_Controller {

	public function __construct(){
		parent::__construct();
	}
	
	public function index()	{
		$query = $this->db->query("Select * from federacion.provincias");
		print_r($query->result_object());
		$status = $this->db->trans_start();
		print_r($status);
		$this->load->view('test/index');
	}
	
	public function info()	{
		$data['casa']['x'] = "85";
		$data['casa']['y'] = "155";
		
		$data['casa']['x'] = "185";
		$data['casa']['y'] = "155";
		echo json_encode($data);
	}
	
	
	public function modelo(){
		$this->load->model('BbddDao');
		$this->BbddDao->getBasesDeDatos();
	}
}

?>